package com.vm.osm.business.dto.req.failOrder;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import java.util.Date;

/**
 * Created by chenzui on 2018/1/26.
 */
@Data
public class ReqAddFailOrder {

    @ApiModelProperty(value = "订单ID")
    private String id;

    @ApiModelProperty(value = "故障标题",required = true)
    private String failure_title;

    @ApiModelProperty(value = "设备ID",required = true)
    private String device_id;

    @ApiModelProperty(value = "设备名称",required = true)
    private String device_name;

    @ApiModelProperty(value = "故障类型ID",required = true)
    private String failure_type_id;

    @ApiModelProperty(value = "设备类型ID",required = false)
    private String device_type_id;

    @ApiModelProperty(value = "优先级ID",required = true)
    private String priority_id;

    @ApiModelProperty(value = "优先级描述",required = false)
    private String priority_desc;


    @ApiModelProperty(value = "联系人",required = false)
    private String link_man;

    @ApiModelProperty(value = "联系电话",required = false)
    private String link_phone;

    @ApiModelProperty(value = "位置",required = true)
    private String location;

    @ApiModelProperty(value = "经度")
    private String location_x;

    @ApiModelProperty(value = "维度")
    private String location_y;

    @ApiModelProperty(value = "预约时间",required = false)
    private Date appointment_time;

    @ApiModelProperty(value = "故障描述",required = false)
    private String simple_desc;

    @ApiModelProperty(value = "故障图片",required = true)
    private String photo_urls;

    @ApiModelProperty(value = "故障文件",required = false)
    private String file_urls;

    @ApiModelProperty(value = "状态0草稿1审批中2待分配",required = true)
    private String status;

    @ApiModelProperty(value = "指派员工ID")
    private String accept_staff_id;

    @ApiModelProperty(value = "指派员工姓名")
    private String accept_staff_name;

    private String department_id;

    @ApiModelProperty(value = "企业ID")
    private String company_id;

    @ApiModelProperty(value = "企业名称")
    private String company_name;

}
